﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ModelAccess;
using ModelLayer;
using System.Reflection;

namespace ModelAccess.Concrete
{
    public class ProfiloHelper : AbstractHelper
    {
        public ProfiloHelper() : base("Profili") { }
        public ProfiloHelper(AbstractHelper ah) : base("Profili", ah) { }


        public List<Profilo> getProfile()
        {
            List<Profilo> profili = null;

            profili = (from u in ctx.Profili.Include("ANAGRAFICAPESI.COMPETENZA")
                       select u).ToList();


            return profili;
        }
    }
}
